Respectful Type Converters

نویسندگان

  • Jeannette M. Wing
  • John Ockerbloom
چکیده

In converting an object of one type to another, we expect some of the original object's behavior to remain the same, and some to change. How can we state the relationship between the original object and converted object to characterize what information is preserved and what is lost after the conversion takes place? We answer this question by introducing the new relation, respects, and say that a type converter function C : A —>■ B respects a type T. We formally define respects in terms of the Liskov and Wing behavioral notion of subtyping; types A and B are subtypes of T. We explain in detail the applicability of respectful type converters in the context of the Typed Object Model (TOM) Conversion Service, built at Carnegie Mellon and used on a daily basis throughout the world. We also briefly discuss how our respects relation addresses a similar question in two other contexts: type evolution and interoperability. This research is sponsored in part by the Defense Advanced Research Projects Agency and the Wright Laboratory, Aeronautical Systems Center, Air Force Materiel Command, USAF, F33615-93-1-1330, and Rome Laboratory, Air Force Materiel Command, USAF, under agreement number F30602-97-2-0031 and in part by the National Science Foundation under Grant No. CCR-9523972. The U.S. Government is authorized to reproduce and distribute reprints for Governmental purposes notwithstanding any copyright annotation thereon. The views and conclusions contained herein are those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the Defense Advanced Research Projects Agency Rome Laboratory or the U.S. Government. DISTRIBUTION STATEMENT A Approved for public release; Distribution Unlimited DTXC QUAL5W INSPECTED 8

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Respectful Type Converters 1.1 What Information Do Type Converters Preserve?

In converting an object of one type to another, we expect some of the original object's behavior to remain the same, and some to change. How can we state the relationship between the original object and converted object to characterize what information is preserved and what is lost after the conversion takes place? We answer this question by introducing the new relation, respects, and say that ...

متن کامل

Respectful Type Converters For Mutable Types

In converting an object of one type to another, we expect some of the original object's behavior to remain the same, and some to change. How can we state the relationship between the original object and converted object to characterize what information is preserved and what is lost after the conversion takes place? We answer this question by introducing the new relation, respects, and say that ...

متن کامل

A Markovian Approach Applied to Reliability Modeling of Bidirectional DC-DC Converters Used in PHEVs and Smart Grids

In this paper, a stochastic approach is proposed for reliability assessment of bidirectional DC-DC converters, including the fault-tolerant ones. This type of converters can be used in a smart DC grid, feeding DC loads such as home appliances and plug-in hybrid electric vehicles (PHEVs). The reliability of bidirectional DC-DC converters is of such an importance, due to the key role of the expec...

متن کامل

Single-Inductor Multiple-Output Switching Converters

A family of singleinductor multiple-output switching converters is presented. They can be classified into same-type, bipolar, and mixed-type converters. Synchronous rectification and control loop design are discussed, and experimental and simulation results of representative converters are presented to verify the functionality of these converters.

متن کامل

Performance Testing of Logarithmic Analog- To-digital Converters

Abstract This paper describes test procedures to characterize the behavior of logarithmic analog-to-digital converters. Logarithmic A/D converters are usually characterized in terms of signal-to-noise ratio (SNR) or in deviation of the ideal characteristic in dB. There are a lack of test methods definition in the literature, as can be observed in the IEEE standard 1241 for these type of convert...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • IEEE Trans. Software Eng.

دوره 26  شماره 

صفحات  -

تاریخ انتشار 2000